package org.jeecg.modules.extbpm.process.mapper;

import java.util.List;

import com.baomidou.mybatisplus.annotation.SqlParser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.extbpm.process.entity.ExtActDesignFlowData;
import org.jeecg.modules.extbpm.process.pojo.DesFormFlowDTO;
import org.jeecg.modules.extbpm.process.pojo.DesignFormDataDTO;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 表单设计器对接流程
 * @Author: jeecg-boot
 * @Date: 2019-06-26
 * @Version: V1.0
 */
public interface ExtActDesignFlowDataMapper extends BaseMapper<ExtActDesignFlowData> {
	
	public List<DesFormFlowDTO> getDesFormFlows();
	
	public List<DesFormFlowDTO> getDesFormFlowsByProcType(@Param("procType") String procType);

	public DesignFormDataDTO getDesignFormDataById(@Param("id") String id);

	@Select("select cgform_code from design_form where desform_code = #{desformCode}")
	public String getDesignFormRelationTableName(@Param("desformCode") String desformCode);
}
